-- GENERATED SPELL FOR [Ruuan'ok Skyfury] --


function spell0_19986(pUnit, Event) --@Lightning Fury,n/a--
pUnit:FullCastSpellOnTarget(37681,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_19986', 575, 1)
end

function Sorts_19986(pUnit, Event)
local choix_sorts_19986 = math.random(0, 0)
if choix_sorts_19986 == 0 then
pUnit:RegisterEvent('spell0_19986', 1, 1)
end
end

function mob19986_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_19986', math.random(1500, 3000), 1)
end

function mob19986_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob19986_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob19986_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(19986, 1, 'mob19986_Action')
RegisterUnitEvent(19986, 2, 'mob19986_Leave')
RegisterUnitEvent(19986, 3, 'mob19986_Kill')
RegisterUnitEvent(19986, 4, 'mob19986_Die')
